#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: auto;
  //QQ登录
  .koukou {
    width: 100%;
    height: 100%;
    // background-color: #ccc;
    position: absolute;
    // opacity: 0.8;

    display: none;
    .chuangkou {
      width: 400px;
      height: 400px;
      background: url(../images/qq.ll.jpg) no-repeat center center;
      position: fixed;
      left: 36%;
      top: 25%;
      border-radius: 8px;
      .guanbi {
        display: block;
        width: 50px;
        height: 20px;
        position: absolute;
        right: 0;
        top: 0;
        cursor: pointer;
        background: skyblue;
        text-align: center;
        border-top-right-radius: 8px;
      }

      h4 {
        font-size: 25px;
        color: black;
        text-align: center;
        font-weight: normal;
      }
      form {
        width: 300px;
        height: 200px;
        margin: auto;

        input {
          width: 295px;
          height: 40px;
          margin-top: 30px;
          border-radius: 8px;
          padding-left: 5px;
        }
      }
      .btn {
        display: block;
        width: 250px;
        height: 30px;
        background-color: teal;
        border-radius: 8px;
        border: none;
        outline: none;
        cursor: pointer;
        margin: auto;
      }
    }
  }
}

// header头部
header {
  width: 100%;
  background-color: #1f1f1f;
  height: auto;

  .w1240 {
    width: 1440px;
    min-width: 1200px;
    max-width: 1590px;
    height: auto;
    margin: auto;
    background-color: #1f1f1f;
  }
  .nt_top {
    dl {
      display: flex;

      dt {
        width: 24px;
        height: 24px;
        display: inline-block;
        background: url(../images/ico-comm.png) no-repeat;
        background-position: 0 -93px;
      }
      dd {
        a {
          color: #a7a7a7;
        }
      }
    }
  }
  .nt_cen {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    background: url(../images/logo-pubg.png) no-repeat center center;
    .cen_le {
      height: 60px;
      width: auto;
      .ico {
        display: inline-block;
        width: 21px;
        height: 21px;
        background: url(../images/ico-comm.png) no-repeat;
        background-position: 0 -279px;
        vertical-align: middle;
      }
      a {
        color: #f6f7ef;
      }
    }
    .cen_ri {
      width: auto;
      height: auto;
      width: 310px;
      height: 34px;
      background: #383838;
      display: flex;
      justify-content: space-between;
      input {
        margin-left: 9px;
        width: 228px;
        height: 34px;
        line-height: 34px;
        font-size: 14px;
        color: #aaa;
        background: #383838;
      }
      a {
        width: 73px;
        height: 34px;
        background: #f3ad14;
        text-align: center;
        display: flex;
        justify-content: center;
        align-items: center;
        i {
          display: block;
          width: 20px;
          height: 20px;
          background: url(../images/spr-com.png) no-repeat;
          background-position: -44px -26px;
        }
      }
    }
  }

  .nt_btn {
    height: auto;
    display: flex;
    justify-content: space-between;
    .all_l {
      height: 50px;
      width: auto;
      line-height: 50px;
      cursor: pointer;
      i {
        margin-right: 18px;
        vertical-align: middle;
        display: inline-block;
        width: 22px;
        height: 17px;
        background: url(../images/spr-com.png) no-repeat;
        background-position: -26px -2px;
      }
      span {
        color: #f6f7ef;
      }
    }
    .nav_c {
      height: 50px;
      width: auto;
      // margin-left: 270px;
      display: flex;
      line-height: 50px;
      text-align: center;
      li {
        margin: 0 25px;
        width: auto;
        height: 100%;
        a {
          color: #fff;
          &:hover {
            color: #f3ad14;
          }
        }
      }
    }
    // 购物车登陆后显示
    .nav_r {
      width: auto;
      line-height: 50px;
      font-size: 14px;
      color: #f2f2f2;
      float: right;
      display: flex;
      opacity: 0; //透明度显示
      i {
        margin-right: 7px;
        margin-top: 14px;
        display: block;
        width: 20px;
        height: 20px;
        background: url(../images/spr-com.png) no-repeat;
        background-position: -2px -2px;
      }
      span {
        display: block;
      }
      div {
        color: #f3ad14;
      }
    }
  }
}

// main内容
main {
  height: auto;
  .product-list {
    width: 1280px;
    margin: 0 auto;
    position: relative;
    .breadcrumb {
      height: 50px;
      line-height: 50px;
      font-size: 14px;
      color: #3a3f4a;
      .nav-current {
        margin-right: 0px;
        cursor: default;
        text-decoration: none;
        color: #999;
      }
    }
    .show-filter {
      position: relative;
      width: 100%;
      padding: 11px 0;
      max-height: 90px;
      border-bottom: 1px solid #eee;
      overflow: hidden;
      -webkit-transition: all 0.4s linear;
      transition: all 0.4s linear;
      .filter-item {
        list-style: none;
        width: 1115px;
        height: auto;
        font-size: 14px;
        display: flex;
        margin-top: 0px;
        margin-bottom: 0px;
        .filter-item-title {
          color: #999;
          cursor: initial;
        }
        .filter-item-current {
          color: #333;
          font-weight: bold;
        }
        .ico-common {
          background-image: url(../images/ico-comm.png);
          background-repeat: no-repeat;
        }
        .i-arrow {
          display: inline-block;
          width: 8px;
          height: 12px;
          vertical-align: middle;
          margin-left: 5px;
          background-image: url(../images/ico-comm.png);
          background-repeat: no-repeat;
          background-position: -79px -64px;
        }
        .i-check {
          display: inline-block;
          width: 16px;
          height: 16px;
          background-position: -2px -2px;
          vertical-align: middle;
          margin-right: 5px;
        }
        .filter-item-check {
          color: #666;
          line-height: 30px;
          cursor: pointer;
        }
        li {
          padding-left: 20px;
          padding-right: 20px;
          line-height: 30px;
          color: #666;
          line-height: 30px;
          cursor: pointer;
        }
      }
    }
    .good-list {
      ul {
        list-style: none;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        li {
          margin: 0 10px 20px;
          float: left;
          width: 280px;
          height: 356px;
          border: 1px solid #eee;
          // position: relative;
          z-index: 1;
          transition: all 0.2s linear;
          overflow: hidden;
          box-shadow: 0px 0px 0px 0px #fff;
          margin-top: 10px;
          &:hover{
            width: 280px;
            height: 356px;
            box-shadow: 0px 0px 20px 10px rgb(236, 233, 233);
            margin-top: -2px;
          }
          .good-info {
            margin-top: 18px;
            text-align: center;
            overflow: hidden;
            .good-name {
              font-size: 14px;
              color: #444;
              margin-top: 0px;
              margin-bottom: 0px;
            }
            .good-pri {
              line-height: 25px;
              font-size: 16px;
              color: #f7545f;
            }
            .old-pri {
              padding-left: 8px;
              font-size: 14px;
              color: #999;
              text-decoration: line-through;
            }
          }
        }
      }
    }
    .page-container {
      width: 1190px;
      margin-left: 47px;
      text-align: left;
      padding: 30px 0;
      height: 38px;
      font-size: 16px;
      padding-top: 0px;
      position: relative;
      .page-btn {
        a {
          line-height: 38px;
          display: inline-block;
          width: 38px;
          height: 38px;
          background: #fff;
          border: 1px solid #eee;
          text-align: center;
          margin-left: 4px;
          color: #5e6360;
        }
      }
      .active {
        a {
          background: #f3bf19;
          border-color: #f3bf19;
          color: #5e6360;
        }
      }
      .ico-arrleft {
        background-position: -411px -345px;
        margin: 9px auto;
        display: block;
        width: 10px;
        height: 18px;
      }
      .ico-arrright {
        margin: 9px auto;
        display: block;
        width: 10px;
        height: 18px;
        background-position: -429px -345px;
      }
      .ico-center {
        background-image: url("../images/ico_center.png");
        background-repeat: no-repeat;
      }
      .page-arrow-item {
        line-height: 38px;
        display: inline-block;
        width: 38px;
        height: 38px;
        background: #fff;
        border: 1px solid #eee;
        text-align: center;
        margin-left: 4px;
        color: #5e6360;
        width: 40px;
      }
    }
  }
  .flex-item {
    display: flex;
    justify-content: space-between;
  }
  .clearfix:after {
    content: ".";
    display: block;
    height: 0;
    visibility: hidden;
    clear: both;
  }
}

// footer尾部
footer {
  width: 100%;
  background-color: #1b1b1b;
  height: auto;
  display: flex;
  flex-direction: column;
  a {
    color: #777;

    &:hover {
      color: white;
    }
  }

  .footer_ieb {
    background: #1b1b1b;
    color: #777;
    font-size: 12px;
    line-height: 24px;
    margin-top: 40px;

    .clearfix {
      width: 1440px;
      margin: auto;
      border-bottom: 1px solid #606060;

      .footer-djc {
        margin-top: 10px;
        width: 213px;
        height: 64px;
        display: block;
        img {
          display: block;
          width: 187px;
          height: 56px;
        }
      }
      .footer-info {
        height: 135px;
        width: 395px;
        font-size: 14px;
        line-height: 30px;
        margin: 50px 0 0 20px;
        border-left: 1px solid #606060;
        border-right: 1px solid #606060;
        float: left;
        li {
          // width: 118px;
          height: 55px;
          padding: 0 38px;
          float: left;
        }
      }
      .footer-code {
        float: left;
        line-height: 62px;
        padding: 50px 0 20px 33px;
        li {
          float: left;
          font-size: 16px;
          color: #fff;
          padding: 0 45px;
          text-align: center;
        }
        .pr0 {
          padding-right: 0;
        }
      }
    }
  }
  .footer_ied {
    background: #1b1b1b;
    font-size: 12px;
    line-height: 24px;
    padding: 30px 0 40px;
    text-align: center;
    p {
      a {
        color: #777;
      }
    }
  }
}
.topnav {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 2000;
  margin: 0 20px 25px 0;
  // display: none;
}
